package cn.rokhdelar.umbrsapi.management.repository;

import cn.rokhdelar.umbrsapi.management.entity.SysRole;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SysRoleRepo extends JpaRepository<SysRole, Long> {
    Page<SysRole> findAllByNameContaining(String name, Pageable pageable);
}
